package com.tvunetworks.device.extra.common.model;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author Ethan
 * @program:
 * @description:
 * @create: 2022/2/21 11:08
 **/
@Data
public class PariOrRemoveAndStartOrStopLiveParam {

    private String rid;
    //和R进行配对/取消配对,并startlive/stoplive的设备id
    private String sourceId;
    //是否抢占
    private boolean preemption;
    @NotEmpty
    //pair continue time
    private  Long validTime;
    @NotEmpty
    private  String type;
}
